package com.yykj.prescription.server.model.repository.prescription;

import com.yykj.prescription.server.model.entity.prescription.HospitalPrescriptionStatistic;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;

@Repository
public interface HospitalPrescriptionStatisticRepository extends JpaRepository<HospitalPrescriptionStatistic,Integer> {
    HospitalPrescriptionStatistic findByHospitalIdAndDay(Integer hospitalId, LocalDate day);
}
